package com.yunxin.core.application.service;

import com.yunxin.core.application.command.order.GetUserApplyOrderInfoCommand;
import com.yunxin.core.application.dto.order.UserApplyOrderInfoDTO;

/**
 * @author zero°
 * @since 2023-07-12
 */
public interface OrderQueryGatewayService {

    /**
     * 获取用户申请订单
     * @param request request
     * @return  UserApplyOrderInfoResponse
     */
    UserApplyOrderInfoDTO getUserApplyOrderByUserAndProduct(GetUserApplyOrderInfoCommand request);

    /**
     * 获取申请分配进件url
     * @param allocationOrderId allocationOrderId
     * @return String
     */
    String getOrderAllocationApiUrl(Long allocationOrderId);
}
